﻿using UnityEditor;
using UnityEngine;

[CustomEditor(typeof(RtsExpeditionFormation))]
public class RtsExpeditionFormationEditor : UnityEditor.Editor
{
    public override void OnInspectorGUI()
    {
        base.OnInspectorGUI();
        if (GUILayout.Button("打印"))
        {
            (target as RtsExpeditionFormation).Log();
        }
    }
}